package com.controller;

import com.service.UserLaunchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CrossOrigin
public class UserLaunchController {
    @Autowired
    private UserLaunchService userLaunchService;

    @RequestMapping("selectUserLaunchByUserId")
    public Object selectUserLaunchByUserId(long userid){
        return userLaunchService.selectUserLaunchByUserId(userid);
    }
}
